Crate sauron_macro
source ·Expand description
node macro facilitates users of sauron to use html-like syntax for building view of web app components
Macros
- build a css string
- build css string that has media selector or any other conditional group
- Quasi-quoting macro for building sauron Nodes.
- build a style attribute
Attribute Macros
- derive code for a certain CustomElement implementation to have the necessary types and glue code which register itself into the the DOM customElementRegistry. This also adds the register function into the module it is called in, so make sure you only use this in each module, multiple web_components should be in different modules